home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
A-Monthly Disks
/
(c)aas.d64
/
dots
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
6KB
|
370 lines
10 REM***DOTS-BY RICK ANDING-ATLANTA****
20 REM***FOR MY CHILDRENS ENTERTAINMENT*******
25 PRINT"[147]"
30 REM****DISABLE THE STOP BUTTON
35 POKE808,239
39 REM********THE 1ST SCREEN************
40 L=1:A=1064:B=1103:C=2023:D=1984
50 POKE 53280,0:POKE53281,0:FOR F=1 TO 1000:NEXT F:FOR X=1 TO 12
60 FOR I=A TO B
70 POKE I,81
80 POKE 54272+I,L
90 L=L+1
100 IF L=16 THEN L=1
105 NEXT I
108 B=B+40:A=A+40
110 FOR I=B TO C STEP 40
120 POKE I,81
130 POKE 54272+I,L
140 L=L+1
160 IF L=16 THEN L=1
170 NEXT I
180 C=C-1:B=B-1
210 FOR I=C TO D STEP -1
220 POKE I,81
230 POKE 54272+I,L
240 L=L+1
260 IF L=16 THEN L=1
270 NEXT I
280 C=C-40:D=D-40
310 FOR I=D TO A STEP -40
320 POKE I,81
330 POKE 54272+I,L
340 L=L+1
360 IF L=16 THEN L=1
370 NEXT I
380 A=A+1:D=D+1
390 NEXT X
400 L=0:A=1064:B=1103:C=2023:D=1984
405 FOR X=1 TO 12
410 FOR I=A TO B
420 POKE I,32
430 POKE 54272+I,L
440 FOR T=1 TO 2:NEXT T
470 NEXT I
480 B=B+40:A=A+40
510 FOR I=B TO C STEP 40
520 POKE I,32
530 POKE 54272+I,L
540 FOR T=1 TO 2:NEXT T
570 NEXT I
580 C=C-1:B=B-1
610 FOR I=C TO D STEP -1
620 POKE I,32
630 POKE 54272+I,L
640 FOR T=1 TO 2:NEXT T
670 NEXT I
680 C=C-40:D=D-40
710 FOR I=D TO A STEP -40
720 POKE I,32
730 POKE 54272+I,L
740 FOR T=1 TO 2:NEXT T
770 NEXT I
780 A=A+1:D=D+1
790 NEXT X
800 FOR X=1 TO 600:NEXT
4000 REM******THE 2ND SCREEN************
4005 L=1:A=1064:B=1103
4010 FOR Y=1 TO 2
4020 FOR Z=1 TO 6
4025 FOR I=A TO B
4030 POKE I,81
4040 POKE 54272+I,L
4050 L=L+1
4060 IF L=16 THEN L=1
4070 NEXT I
4073 FOR N=B TO A STEP-1
4080 A=A+80:B=B+80
4083 FOR N=B TO A STEP -1
4084 POKE N,81
4085 POKE 54272+N,L
4086 L=L+1
4087 IF L=16 THEN L=1
4088 NEXT N
4089 A=A+80:B=B+80
4090 NEXT Z
4100 A=1104:B=1143
4105 NEXT Y
4110 L=1:A=1064:B=1103
4115 FOR Y=1 TO 2
4120 FOR Z=1 TO 6
4125 FOR I=A TO B
4130 POKE I,32
4140 POKE 54272+I,L
4170 NEXT I
4172 A=A+80:B=B+80
4173 FOR N=B TO A STEP-1
4174 POKE N,32
4175 POKE 54272+N,L
4176 NEXT N
4180 A=A+80:B=B+80
4190 NEXT Z
4195 A=1104:B=1143
4200 NEXT Y
4210 FOR X=1 TO 600:NEXT
6000 REM*******THE 3RD SCREEN***********
6005 L=1:A=1064:B=1067:C=1187:D=1184
6010 FOR Z=1 TO 70
6020 FOR I=A TO B
6030 POKE I,81
6040 POKE 54272+I,L
6050 L=L+1
6060 IF L=16 THEN L=1
6070 NEXT I
6080 FOR I=B TO C STEP 40
6090 POKE I,81
6100 POKE 54272+I,L
6110 L=L+1
6120 IF L=16 THEN L=1
6130 NEXT I
6140 FOR I=C TO D STEP -1
6150 POKE I,81
6160 POKE 54272+I,L
6170 L=L+1
6180 IF L=16 THEN L=1
6190 NEXT I
6200 FOR I=D TO A STEP -40
6210 POKE I,81
6230 POKE 54272+I,L
6240 L=L+1
6250 IF L=16 THEN L=1
6260 NEXT I
6270 A=A+12:B=B+12:C=C+12:D=D+12
6280 NEXT Z
6300 L=0:A=1064:B=1067:C=1187:D=1184
6310 FOR Z=1 TO 70
6320 FOR I=A TO B
6330 POKE I,32
6340 POKE 54272+I,L
6370 NEXT I
6380 FOR I=B TO C STEP 40
6390 POKE I,32
6400 POKE 54272+I,L
6430 NEXT I
6440 FOR I=C TO D STEP -1
6450 POKE I,32
6460 POKE 54272+I,L
6490 NEXT I
6500 FOR I=D TO A STEP -40
6510 POKE I,32
6530 POKE 54272+I,L
6560 NEXT I
6570 A=A+12:B=B+12:C=C+12:D=D+12
6580 NEXT Z
7208 FOR X=1 TO 600:NEXT X
7210 REM*********THE 4TH SCREEN*********
7215 L=1:A=1064:B=1944
7220 FOR Z=1 TO 14
7225 FOR I=A TO B STEP 40
7230 POKE I,81
7240 POKE 54272+I,L
7250 L=L+1
7260 IF L=16 THEN L=1
7270 NEXT I
7280 A=A+3:B=B+3
7290 NEXTZ
7310 L=1:A=1064:B=1103
7320 FOR Z=1 TO 6
7325 FOR I=B TO A STEP -1
7330 POKE I,81
7340 POKE 54272+I,L
7350 L=L+1
7360 IF L=16 THEN L=1
7370 NEXT I
7380 A=A+80:B=B+80
7382 FOR N=A TO B
7384 POKE N,81
7385 POKE 54272+N,L
7386 L=L+1
7387 IF L=16 THEN L=1
7388 NEXT N
7389 A=A+80:B=B+80
7390 NEXT Z
7410 L=1:A=1064:B=1984
7420 FOR Z=1 TO 20
7425 FOR I=A TO B STEP 40
7430 POKE I,32
7440 POKE 54272+I,L
7470 NEXT I
7480 A=A+2:B=B+2
7490 NEXTZ
7510 L=1:A=1064:B=1103:C=1944:D=1983
7520 FOR Z=1 TO 6
7525 FOR I=A TO B
7530 POKE I,32
7540 POKE 54272+I,L
7570 NEXT I
7580 A=A+80:B=B+80
7625 FOR K=C TO D
7630 POKE K,32
7640 POKE 54272+K,L
7670 NEXT K
7680 C=C-80:D=D-80
7700 NEXT Z
7705 FOR X=1 TO 800:NEXT
7710 L=1:A=1104:B=1143:C=1904:D=1943
7720 FOR Z=1 TO 5
7725 FOR I=A TO B
7730 POKE I,32
7740 POKE 54272+I,L
7770 NEXT I
7780 A=A+80:B=B+80
7825 FOR K=C TO D
7830 POKE K,32
7840 POKE 54272+K,L
7870 NEXT K
7880 C=C-80:D=D-80
7900 NEXT Z
7905 FOR X=1 TO 500:NEXT
7910 A=1507:B=1543
7920 FOR Z=1 TO 3
7930 POKE A,32
7940 POKE 54272+A,0
7950 FOR X=1 TO 250:NEXT X
7960 POKE B,32
7970 POKE 54272+B,0
7975 A=A+6:B=B-6
7980 FOR X=1 TO 250:NEXT X
7985 NEXT Z
7990 FOR X=1 TO 600:NEXT X
7995 PRINT"[147]"
8999 REM****THE 5TH AND FINAL SCREEN****
9000 POKE 646,1:FOR X=1 TO 1000:NEXT
9010 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT
9020 PRINT TAB(15)"ALL GONE!";:FOR X=1 TO 1800:NEXT
9040 L=1:A=1064:B=1103:C=2023:D=1984
9050 FOR I=A TO B
9060 POKE I,81
9070 POKE 54272+I,L
9080 L=L+1
9100 IF L=16 THEN L=1
9110 NEXT I
9120 B=B+40:A=A+40
9130 FOR I=B TO C STEP 40
9140 POKE I,81
9150 POKE 54272+I,L
9160 L=L+1
9170 IF L=6 THEN L=7
9180 IF L=16 THEN L=1
9190 NEXT I
9200 B=B-1:C=C-1
9210 FOR I=C TO D STEP -1
9220 POKE I,81
9230 POKE 54272+I,L
9240 L=L+1
9260 IF L=16 THEN L=1
9270 NEXT I
9280 C=C-40:D=D-40
9290 FOR I=D TO A STEP -40
9320 POKE I,81
9330 POKE 54272+I,L
9340 L=L+1
9360 IF L=16 THEN L=1
9370 NEXT I
9380 A=A+1:D=D+1
9385 FOR X=1 TO 800:NEXT
9390 FOR I=1476 TO 1490
9400 POKE I,81
9410 POKE 54272+I,L
9420 L=L+1
9430 IF L=16 THEN L=1
9440 NEXT I
9450 FOR I=1530TO 1650 STEP 40
9460 POKE I,81
9470 POKE 54272+I,L
9480 L=L+1
9490 IF L=16 THEN L=1
9500 NEXT I
9510 FOR I=1649 TO 1636 STEP -1
9520 POKE I,81
9530 POKE 54272+I,L
9540 L=L+1
9550 IF L=16 THEN L=1
9560 NEXT I
9590 FOR I=1636 TO 1476 STEP -40
9600 POKE I,81
9610 POKE 54272+I,L
9620 L=L+1
9630 IF L=16 THEN L=1
9640 NEXT I
9641 FOR X=1 TO 800:NEXT
9642 FOR W=1 TO 4
9643 PRINT"[157][157][157][157][157][157][157][157][157][150]ALL GONE!";
9645 FOR X=1 TO 200:NEXT X
9647 PRINT"[157][157][157][157][157][157][157][157][157][158]ALL GONE!";
9650 FOR X=1 TO 200:NEXT X
9652 PRINT"[157][157][157][157][157][157][157][157][157][154]ALL GONE!";
9654 FOR X=1 TO 200:NEXT X
9656 PRINT"[157][157][157][157][157][157][157][157][157]ALL GONE!";
9658 FOR X=1 TO 200:NEXT X
9660 NEXT W
9662 FOR M=1 TO 3
9664 L=L+1:A=1064:B=1103:C=2023:D=1984
9666 IF L=16 THEN L=1
9668 FOR I=A TO B
9670 POKE I,81
9680 POKE 54272+I,L
9690 L=L+1
9700 IF L=16 THEN L=1
9710 NEXT I
9720 B=B+40:A=A+40
9730 FOR I=B TO C STEP 40
9740 POKE I,81
9750 POKE 54272+I,L
9760 L=L+1
9770 IF L=6 THEN L=7
9780 IF L=16 THEN L=1
9790 NEXT I
9800 C=C-1:B=B-1
9810 FOR I=C TO D STEP -1
9820 POKE I,81
9830 POKE 54272+I,L
9840 L=L+1
9860 IF L=16 THEN L=1
9870 NEXT I
9880 C=C-40:D=D-40
9885 FOR I=D TO A STEP -40
9900 POKE I,81
9910 POKE 54272+I,L
9915 L=L+1
9930 IF L=16 THEN L=1
9940 NEXT I
9950 NEXT M
9960 FOR V=1 TO 200:NEXT
9970 FOR J=1 TO 8
10000 FOR I=1476 TO 1636 STEP 40
10010 POKE I,81
10020 POKE 54272+I,L
10030 L=L+1
10040 IF L=16 THEN L=1
10050 NEXT I
10060 FOR I=1637 TO 1650
10070 POKE I,81
10080 POKE 54272+I,L
10090 L=L+1
10100 IF L=16 THEN L=1
10110 NEXT I
10120 FOR I=1610 TO 1490 STEP-40
10130 POKE I,81
10140 POKE 54272+I,L
10150 L=L+1
10160 IF L=16 THEN L=1
10170 NEXT I
10180 FOR I=1489 TO 1477 STEP-1
10190 POKE I,81
10200 POKE 54272+I,L
10210 L=L+1
10220 IF L=16 THEN L=1
10230 NEXT I
10240 NEXT J:FOR X=1 TO 1000:NEXT X:POKE 53280,6
10245 FOR X=1 TO 2000:NEXT:POKE 53281,6
10250 PRINT"[147]":FOR X=1 TO 1000:NEXT X:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT
10260 PRINT:PRINT:PRINT:PRINT:PRINT:PRINT TAB(15)"[155]RUN AGAIN?"
10270 PRINT:INPUT" Y OR N";A$
10280 IF A$="Y"OR A$="YES" THEN GOTO40
10350 FOR X=1 TO 1000:NEXT
10354 REM******ENABLE THE STOP BUTTON***
10355 POKE 808,237
10360 PRINT""
10370 END